package com.by.common.core.utils;

import com.by.common.core.exception.BusinessException;

public class Assert {

    public static void isZero(int rs, String msg) {
        if (rs == 0)
            throw new BusinessException(msg);
    }
}
